import { LOGIN_SETTOKEN } from '../actionTypes'

export default function channel (state = '', action) {
  switch (action.type) {
    case LOGIN_SETTOKEN:
      return action.payload

    default:
      return state
  }
}
